package com.bwie.groupon.feign.fallback;

import com.bwie.common.utils.R;
import com.bwie.groupon.feign.UserFeignService;
import com.bwie.groupon.to.UserTo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author DELL
 * #Description UserFeignServiceFallBack
 * #Date: 2022/5/3 16:16
 */
@Component
@Slf4j
public class UserFeignServiceFallBack implements UserFeignService {
    @Override
    public UserTo getUserById(Integer userId) {
        log.info("user模块熔断处理。。。。。。。");
        return  new UserTo();
    }
}
